<template>
  <div class="hi-loading">
    <div class="hi-loading-content" :style="{width: '60px',height: '60px', backgroundImage: `url(${loading})`}"></div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      loading: require('./loading.gif')
    }
  }
}
</script>
<style lang="less" scoped rel="stylesheet/less">
.hi-loading {
  position: fixed;
  left: 0;
  /*size: 100%;*/
  text-align: center;
  background-color: rgba(0, 0, 0, .25);
  z-index: 10000;
}

.hi-loading-content {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 10px;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
</style>
